import request from '@/utils/request'

// 查询商户列表
export function listBusiness() {
  return request({
    url: '/shanghu/business/list',
    method: 'get',
  })
}

// 查询商户详细
export function getBusiness(id) {
  return request({
    url: '/shanghu/business/getById?id='+ id,
    method: 'get'
  })
}


// 审核商户
export function updateBusiness(data) {
  return request({
    url: '/shanghu/business',
    method: 'put',
    data: data
  })
}

